package com.lcf.Flower;

import java.util.Scanner;

/**
 * @author 懒洋洋不懒
 * @version 1.0
 * @date 2025/4/11 16:30
 * @description
 */
public class Flower {


            int id;
            String name;
            int quantity;
            double price;
            String saleDate;
            String salesman;
            String remarks;

            public Flower(int id, String name, int quantity, double price, String saleDate, String salesman, String remarks) {
                this.id = id;
                this.name = name;
                this.quantity = quantity;
                this.price = price;
                this.saleDate = saleDate;
                this.salesman = salesman;
                this.remarks = remarks;
            }

            @Override
            public String toString() {
                return "编号: " + id +
                        "\n鲜花名称: " + name +
                        "\n销售数量: " + quantity +
                        "\n价格: " + price +
                        "\n销售日期: " + saleDate +
                        "\n销售员: " + salesman +
                        "\n备注: " + remarks;
            }
        }


